# $Id: PKGBUILD 65766 2012-02-22 12:23:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-data-hierarchy
pkgver=0.34
pkgrel=5
pkgdesc="Perl/CPAN Module Data::Hierarchy"
arch=("any")
url="http://search.cpan.org/dist/Data-Hierarchy"
license=("GPL" "PerlArtistic")
makedepends=("perl-test-exception")
depends=("perl-test-exception")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/Data-Hierarchy-0.34.tar.gz")
md5sums=("f4ac04c7f676cbfff9bbd1be118d4c66")

build() {
  cd $srcdir/Data-Hierarchy-0.34
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
